# library project CMakeLists.txt file

add_library(lib INTERFACE)
# ez_create_library(lib INTERFACE INTERFACE)


set(ADD_LIB_SUBDIRS 
    cJSON
)

set(ADD_LIB_NAMES 
    cJSON
)



foreach(dir IN LISTS ADD_LIB_SUBDIRS)
    add_subdirectory(${dir})
endforeach()

# target_link_directories(${LIB_NAME} ${LIB_SCOPE}
#     ${ADD_LIB_SUBDIRS}
# )

target_link_libraries(lib INTERFACE 
    ${ADD_LIB_NAMES}
)




